﻿using System;

namespace rpxlogindemo.extensionMethods
{
    public static class Strings
    {
        public static string ToHyperlink(this string s)
        {
            if (string.IsNullOrEmpty(s))
                return string.Empty;

            return String.Format("<a href=\"{0}\" rel=\"external\">{0}</a>", s);
        }
    }
}